GetData Method

Syntax

Context.Session.GetData as L (Key as C, ByRef Value as A)

Arguments

L

Return type

Key as C

The key of the session-state variable to be retrieved.

ByRef Value as A

A reference to a variable to receive the session-state variable value.

Description

Gets the value of a specific key from the session-state collection.

Discussion

Context.Session.GetData() gets the value of a specific key from the session-state collection. Check Context.Session.CallResult.Success before using the return value.